package com.info3k.client.domain;

import java.io.Serializable;
import java.util.Date;


public class Event implements Serializable {

	private static final long serialVersionUID = -1873799364997737422L;

    private Long id;
	
    private Location[] locations;
    
	private String title;
    
    private String description;
    
    private Date creationTime;
    
    private Date eventTime;
    
    private User user;
    
    private Double rate;
    
    private Long views;
    
    private Long numRates;
    
    private Integer length;
    
    public Event() {
    	this.setLocations(new Location[0]);
	}
    
	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setLocations(Location[] locations) {
		this.locations = locations;
	}

	public Location[] getLocations() {
		return locations;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getUser() {
		return user;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDescription() {
		return description;
	}

	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}

	public Date getCreationTime() {
		return creationTime;
	}

	public void setEventTime(Date eventTime) {
		this.eventTime = eventTime;
	}

	public Date getEventTime() {
		return eventTime;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	public Double getRate() {
		return rate;
	}

	public void setNumRates(Long numRates) {
		this.numRates = numRates;
	}

	public Long getNumRates() {
		return numRates;
	}

	public void setViews(Long views) {
		this.views = views;
	}

	public Long getViews() {
		return views;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getLength() {
		return length;
	}
}
